package com.yingeo.ai.sdk.demo.goods;

public class GoodsBean {

    // 商品编码
    private String goodsCode;

    // 商品名称
    private String goodsName;

    // 商品图片
    private String imageUrl;

    // 商品单价，单位分
    private int unitPrice;

    public int count = 1;

    // 名称拼音
    private String pinYinName;

    // 名称首字母
    private String pinYinFirstSpell;

    public GoodsBean() {
    }

    public GoodsBean(String goodsCode, String goodsName, String imageUrl, int unitPrice, String pinYinName, String pinYinFirstSpell) {
        this.goodsCode = goodsCode;
        this.goodsName = goodsName;
        this.imageUrl = imageUrl;
        this.unitPrice = unitPrice;
        this.pinYinName = pinYinName;
        this.pinYinFirstSpell = pinYinFirstSpell;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public int getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(int unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getPinYinName() {
        return pinYinName;
    }

    public void setPinYinName(String pinYinName) {
        this.pinYinName = pinYinName;
    }

    public String getPinYinFirstSpell() {
        return pinYinFirstSpell;
    }

    public void setPinYinFirstSpell(String pinYinFirstSpell) {
        this.pinYinFirstSpell = pinYinFirstSpell;
    }

    @Override
    public String toString() {
        return "GoodsBean{" +
                "goodsCode='" + goodsCode + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", imageUrl='" + imageUrl + '\'' +
                ", unitPrice=" + unitPrice +
                '}';
    }
}
